#ifndef CONCRETE_OBSERVER_H
#define CONCRETE_OBSERVER_H
#include"observer.h"
#include<iostream>
#include <string>
using namespace std;
class ObserverA:public IObserver{
public:
    ObserverA(string name):m_Name(name){}
    void Update(double price)override{
        cout<<m_Name<<"- price is "<<price<<endl;
    }
private:
    string m_Name;
};
#endif // CONCRETE_OBSERVER_H
